package cn.pomelo.signal.task;

import org.springframework.stereotype.Component;

import java.text.SimpleDateFormat;
import java.util.Date;

@Component("wxDemo")
public class WxDemo {

    public void testNoParams() {
        System.out.println("无参测试");
    }

    public void testOneParam(String param) {
        System.out.println("有参测试:" + param + "，执行时间：" + new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()));
    }
}
